#!/usr/bin/env python

import Options

def set_options(opt):
    opt.RECURSE('lib/tdb')

def configure(conf):
    conf.RECURSE('lib/tdb')

def build(bld):
    bld.RECURSE('lib/tdb')
    bld.SAMBA_LIBRARY('tdb_compat',
                      source='tdb_compat.c',
		      deps='replace tdb',
                      private_library=True)
